package main
{
    import flash.events.Event;
    
    import mx.controls.Alert;
    import mx.controls.CheckBox;
    import mx.events.FlexEvent;
    
    
    
    public class ImageItemCheckBox extends CheckBox
    {
        private var currentData:Object; 
        
        public function ImageItemCheckBox()
        {
            super();
            this.addEventListener(Event.CHANGE,changeHandle);
 			this.addEventListener(FlexEvent.DATA_CHANGE,ondc);   
        }

       
       private function ondc(e:FlexEvent):void 
       {
       	      		
       }

        private function changeHandle(e:Event):void
        {
			this.parentDocument.data.isSelected = this.selected;
			var len:int = this.parentApplication.getInfoLength();
           
        }

    }
}